const timestamp = Date.now();
const jsonHeader = {
    headers: {
        'Content-Type': 'application/json;charset=utf-8'
    }
};
const LpGgfApi = {
    exportData: (param) => post(`/export?_=${timestamp}`, param, jsonHeader),
    getList: () => { return post(`/getList?_=${timestamp}`)},
    getEntityList: (param) => { return post(`/getEntityList?_=${timestamp}`, param, jsonHeader)},
    getLpGgfTableData: (param) => { return post(`/getLpGgfTableData?_=${timestamp}`, param, jsonHeader)},
    exportAllSubFund: (param) => { return post(`/exportAllSubFund?_=${timestamp}`, param, jsonHeader)},
};
  
const DownLoadFileAPI = {
    // download: (file_name) => createGet(`/download?_=${timestamp}&file_name=${file_name}`, { responseType: 'blob' })
    download: (file_name) => downloadFile(`/download?_=${timestamp}&file_name=${file_name}`, file_name, { responseType: 'blob' })
};